#define  _CRT_SECURE_NO_WARNINGS 1
#include "Slist.h"

void test()
{
	SLNode* list = NULL;
	slist_pushback(&list, 1);
	slist_pushback(&list, 2);
	slist_pushback(&list, 3);
	slist_pushback(&list, 4);
	slist_pushfront(&list, 5);
	slist_popfront(&list);
	slist_popback(&list);
	slist_print(&list);

}

int main()
{
	test();
	return 0;
}